import java.util.*;

public class Region {
	private int m_numero;
	private int m_nbDelegation;
	private ArrayList<Village> m_villages;
	
	public Region() {
		ArrayList<Village> av = new ArrayList<Village>();
		Village v = null;
		try {
			v = new Village();
		} catch (Exception e) {
			e.printStackTrace();
		}
		av.add(v);
		m_numero =0;
		m_nbDelegation = 0;
		m_villages = av;
	}
	public Region(int num,final ArrayList<Village> village) {
		m_numero = num;
		m_nbDelegation = 0;
		m_villages = village;
	}
	public Region(int num, int delegation, final ArrayList<Village> villages) {
		m_numero = num;
		m_nbDelegation = delegation;
		m_villages = villages;
	}
	public int getM_nbDelegation() {
		return m_nbDelegation;
	}
	public void setM_nbDelegation(int nbDelegation) {
		m_nbDelegation = nbDelegation;
	}
	public int getM_numero() {
		return m_numero;
	}
	public ArrayList<Village> getM_villages() {
		return m_villages;
	}	
	public String toString() {
		String chaineVillage="";
		return "[numero=" + m_numero + ", nombre de Delegation="
				+ m_nbDelegation + chaineVillage + "]";
	}
}
